package com.w.proxy.player.playerproxy;

import com.w.proxy.player.api.IPlayer;

/**
 * 静态代理类
 *
 * @author wyw
 */
public class LoLPlayerProxy implements IPlayer {

    private IPlayer player;

    public LoLPlayerProxy(IPlayer player) {
        this.player = player;

    }

    @Override
    public void login(String iLoginTime) {
        this.player.login(iLoginTime);
    }

    @Override
    public void killMonster() {
        this.player.killMonster();
    }

    @Override
    public void levelUp() {
        this.player.killMonster();
    }

    @Override
    public void logout(String iLogoutTime) {
        this.player.logout(iLogoutTime);
    }

    @Override
    public int testInt(Integer iNum) {
        return 0;
    }
}
